#define _CRT_SECURE_NO_WARNINGS 1
#include"queue.h"



int main()
{
	Queue q;
	QueueInit(&q);
	QueuePush(&q, 1);
	QueuePush(&q, 2);

	/*printf("%d ", QueueFront(&q));
	QueuePop(&q);*/
	//printf("%d ", QueueFront(&q));

	QueuePush(&q, 3);
	QueuePush(&q, 4);

	printf("%d\n", QueueSize(&q));


	while (!QueueEmpty(&q))
	{
		printf("%d ", QueueFront(&q));
		QueuePop(&q);
	}
	printf("\n");
	printf("%d", QueueSize(&q));

	QueueDestroy(&q);

	return 0;
}